package com.max.eshop.services;

import com.max.eshop.storage.Storage;

public class ReqestService {
	Storage s;

	public ReqestService(Storage storage) {
		this.s = storage;
	}

	public void add(String name, Integer count) {
		s.addReqest(name, count);
	}

	public void show() {
		s.showReqest();
	}

	public void sortedByAlphabet() {
		s.sortedReqestByAlphabet();
	}

	public void sortedByCount() {
		s.sortedReqestByCount();
	}
}
